package star.cloud.asme.system.role.menu;

import com.baomidou.mybatisplus.annotation.TableName;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import lombok.*;
import lombok.experimental.Accessors;
import star.cloud.asme.base.mybatis.IBaseEntity;

@EqualsAndHashCode(callSuper = true)
@Data
@Builder
@Accessors(chain = true)
@NoArgsConstructor(force = true)
@AllArgsConstructor
@Entity(name = "senpec_system_role_menu")
@TableName("senpec_system_role_menu")
public class Menu extends IBaseEntity<Menu> {
    @Column(length = 50)
    private String title;
    private Long roleId;
}